package com.qf.model;

//银行卡信息表
public class Card {
    private Integer id;     //银行卡编号
    private String c_id;       //银行卡号
    private String c_pwd;       //银行卡支付密码
    private String  c_account;      //开户行
    private String  c_phone;        //银行预留手机号
    private Double c_balance;        //银行卡余额     默认：0.0
    private Integer c_check;        //是否审核   0：未审核  1：已审核   默认0
    private Integer c_bind;        //是否绑定   0：未绑定 1：已绑定  2:主卡    默认0
    private Integer c_type;        //卡片类型    0:储蓄卡  1：信用卡
    private Double c_quota;        //信用卡额度
    private Integer u_id;        //用户编号

    public Card() {
    }

    public Card(Integer id, String c_id, String c_pwd, String c_account, String c_phone, Double c_balance, Integer c_check, Integer c_bind, Integer c_type, Double c_quota, Integer u_id) {
        this.id = id;
        this.c_id = c_id;
        this.c_pwd = c_pwd;
        this.c_account = c_account;
        this.c_phone = c_phone;
        this.c_balance = c_balance;
        this.c_check = c_check;
        this.c_bind = c_bind;
        this.c_type = c_type;
        this.c_quota = c_quota;
        this.u_id = u_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public String getC_pwd() {
        return c_pwd;
    }

    public void setC_pwd(String c_pwd) {
        this.c_pwd = c_pwd;
    }

    public String getC_account() {
        return c_account;
    }

    public void setC_account(String c_account) {
        this.c_account = c_account;
    }

    public String getC_phone() {
        return c_phone;
    }

    public void setC_phone(String c_phone) {
        this.c_phone = c_phone;
    }

    public Double getC_balance() {
        return c_balance;
    }

    public void setC_balance(Double c_balance) {
        this.c_balance = c_balance;
    }

    public Integer getC_check() {
        return c_check;
    }

    public void setC_check(Integer c_check) {
        this.c_check = c_check;
    }

    public Integer getC_bind() {
        return c_bind;
    }

    public void setC_bind(Integer c_bind) {
        this.c_bind = c_bind;
    }

    public Integer getC_type() {
        return c_type;
    }

    public void setC_type(Integer c_type) {
        this.c_type = c_type;
    }

    public Double getC_quota() {
        return c_quota;
    }

    public void setC_quota(Double c_quota) {
        this.c_quota = c_quota;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id=" + id +
                ", c_id='" + c_id + '\'' +
                ", c_pwd='" + c_pwd + '\'' +
                ", c_account='" + c_account + '\'' +
                ", c_phone='" + c_phone + '\'' +
                ", c_balance=" + c_balance +
                ", c_check=" + c_check +
                ", c_bind=" + c_bind +
                ", c_type=" + c_type +
                ", c_quota=" + c_quota +
                ", u_id=" + u_id +
                '}';
    }
}
